Implement interactive Terminal UI with real-time engine integration#82
Merged
Conversation
…ssue #81) - Add interactive Terminal UI mode with keyboard navigation - Implement input handler with 23 different actions - Wire UI components to game engine for real-time updates - Add 21 comprehensive integration tests - Enable --ui flag to launch interactive mode - Support view switching, overlays, and simulation control - All tests passing with no regressions Co-authored-by: SorraTheOrc <250240+SorraTheOrc@users.noreply.github.com>
- Document delta attributes usage in map_view.py - Clarify focus metadata key comment in tests Co-authored-by: SorraTheOrc <250240+SorraTheOrc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add player interactivity and UI wiring
Implement interactive Terminal UI with real-time engine integration
Dec 7, 2025
…_echoes.md; update agent/faction view logic for GameState compatibility; minor UI/test improvements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 12.2.3 adds player interactivity to the Terminal UI, wiring all panels to the simulation engine with bidirectional real-time updates.
Implementation
Input handling (
input_handler.py)Interactive controller (
terminal_ui.py)Shell integration (
shell.py)--uiflag to launch interactive modeView layer fixes (
map_view.py)Testing
21 integration tests covering:
Example usage:
Keyboard shortcuts: arrow keys/hjkl for navigation, m/a/f/o for views, u/p/s/r for overlays, space for tick, q to quit.
Original prompt
Created from Copilot CLI via the copilot delegate command.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.